<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>主页</title>
</head>
<body>
<h1>欢迎来到SpringMVC首页</h1>

    <a th:href="@{/toTarget}">访问目标页面</a>

    <h3>测试@RequestMapping模糊匹配</h3>
    <a th:href="@{/animal/cat}">测试@RequestMapping模糊匹配[cat]</a><br/>
    <a th:href="@{/animal/dog}">测试@RequestMapping模糊匹配[dog]</a><br/>
    <a th:href="@{/animal/tiger}">测试@RequestMapping模糊匹配[tiger]</a><br/>
    <a th:href="@{/animal/tiger/big}">测试@RequestMapping模糊匹配[tiger/big]</a><br/>




</body>

</html>